<?php
/* SVN FILE: $Id: default.ctp 7945 2008-12-19 02:16:01Z gwoo $ */
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
 * Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @filesource
 * @copyright     Copyright 2005-2008, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 * @link          http://www.cakefoundation.org/projects/info/cakephp CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.libs.view.templates.layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @version       $Revision: 7945 $
 * @modifiedby    $LastChangedBy: gwoo $
 * @lastmodified  $Date: 2008-12-18 18:16:01 -0800 (Thu, 18 Dec 2008) $
 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
 */
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>


	<?php echo $html->charset(); ?>
	<title>
		<?php echo __('change the title') . ' ' . __('Version - ',true)  . Configure::read('versao'); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<?php
		echo $html->meta('icon');

		echo $html->css('cake.generic');
		echo $html->css('list');
		echo $html->css('menu');
		echo $javascript->link('main.js');
		echo $html->charset('UTF-8');
		echo $scripts_for_layout;
	?>
</head>
<body>

	<div id="container">
		<div id="header">
			<div style="float:left">
				<h1>
				<?php 
					echo $html->link(__('change this label',true), '/'); 
				?>
				</h1>
			</div>
				<div id="right" style="float:rigth">
					<ul class="translate" id="topNav">
					<?php if ($session->read('User.login') == ''): ?>
						<li><a href="/">Log in</a></li>
					<?php else: ?>
						<li><a href="/logins/logout">Log out</a></li>
					<?php endif;?>
				    </ul>
				</div>
		</div>
		<div id="nav">
      <div class="outsideContainer translate">
	        <ul id="mainNav">
	          
	        </ul>
	
	        <div id="searchbox">

	        </div>
	      </div>
	    </div>
		<hr />
		<div id="menu">
		<?php
				if ($session->read('User.name') != ''){
					//echo $this->element('menu_suspenso');
				}
		?>
		</div>
			<div id="content">
			<?php $session->flash(); ?>
			<div id="carregando"><center><div style="background-color:#ECD672;width:80px">&nbsp;Loading...&nbsp;&nbsp;&nbsp;</div></center> </div>
			<?php echo $content_for_layout; ?>

		</div>
		<div id="footer">
			<?php echo $this->Html->link(
					$this->Html->image('cake.power.gif', array('alt'=> __('CakePHP: the rapid development php framework', true), 'border' => '0')),
					'http://www.cakephp.org/',
					array('target' => '_blank', 'escape' => false)
				);
			?>
		</div>
	</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>

